findElementsByClassName

public abstract List<Element> findElementsByClassName(String className)

Returns an immutable list of the Element objects found in the current search context by the given className. Returns an empty list if no elements were found.

Parameters

className

a string that represents the class attribute of the HTML element

Throws

if the given className is empty

when this instance is closed